package com.lyfx.ly.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lyfx.common.utils.PageUtils;
import com.lyfx.ly.entity.AttrGroupEntity;
import com.lyfx.ly.vo.AttrGroupWithAttrsVo;
import com.lyfx.ly.vo.ItemAttrGroupVo;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author lsy
 * @email lsy@gmail.com
 * @date 2020-07-11 17:57:41
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catlogId);

    List<AttrGroupWithAttrsVo> getAttrGroupWithAttrsByCategoryId(Long categoryId);

    List<ItemAttrGroupVo> getAttrGroupWithAttrsByClassId(Long classId, Long categoryId);
}

